package com.ifgostudio.framework.io;

import java.io.ByteArrayOutputStream;
import java.io.IOException;

import javax.servlet.ServletOutputStream;

public class IfgoOutputStream extends ServletOutputStream {

	private ByteArrayOutputStream stream;
	
	public IfgoOutputStream(ByteArrayOutputStream stream){
		this.stream = stream;
	}
	@Override
	public void write(int b) throws IOException {
		stream.write(b);
	}

}
